package com.cn.boot.spring.service;

import com.cn.boot.spring.entity.DepartmentEntity;

import java.util.List;

public interface IDepartmentService {
    List<DepartmentEntity> findAll();

    DepartmentEntity findById(Integer id);

    Integer add(DepartmentEntity departmentEntity);

    void adds(List<DepartmentEntity> list);

    void del(List<Integer> ids);

    Integer update(DepartmentEntity departmentEntity);
}
